<template>
    <nav class="nav-main">
        <div class="nav-bar">
            <div class="nav-title" v-once>
                {{title}}运管系统
            </div>
            <nav-list :routeListData='routeListData' :tag="'a'"></nav-list>
        </div>
    </nav>
</template>

<script>
import navList from '../components/defaultNavList'
export default{
  name: 'navMain',
  data () {
    return {
      title: '大翔集团',
      routeListData: {
        '/organization': {
          text: '机构'
        },
        '/doctor': {
          text: '医生'
        },
        '/dl': {
          text: '代理'
        },
        '/fx': {
          text: '分销'
        },
        '/product': {
          text: '商品'
        },
        '/device': {
          text: '设备'
        },
        '/order': {
          text: '订单'
        },
        '/ad': {
          text: '广告端'
        },
        '/user/': {
          text: '用户'
        },
        '/statis': {
          text: '统计'
        }
      }
    }
  },
  components: {
    navList
  }
}
</script>